Reversible Debugging in Logic Programming

نویسندگان

چکیده

Reversible debugging is becoming increasingly popular for locating the source of errors. This technique proposes a more natural approach to debugging, where one can explore computation from observable misbehaviour backwards error. In this work, we propose reversible scheme logic programs. For purpose, define an appropriate instrumented semantics (a so-called Landauer embedding) that makes SLD resolution reversible. An implementation debugger Prolog, rever, has been developed and publicly available. paper dedicated Manuel Hermenegildo on his 60th birthday, many contributions programming as well energetic leadership within community. I wish him springs come.

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Rational Logic Programming Debugging

Information about Prolog data term's dependencies on derivation goals can be used for improved debugging, whether in the wrong solution or the missing solution type of faulty program behaviour. A debugger for full Prolog (itself written in Prolog) has been developed which automates the reasoning ability required to pinpoint errors, resorting to the user only to ask about the intended program se...

متن کامل

Declarative Debugging in Constraint Logic Programming

This paper is motivated by the declarative insuuciency diagnosis of constraint logic programs, but focuses only on theoretical viewpoints. Many techniques have been developed for logic programming but cannot be merely adapted to constraint logic programming. Constraint logic program semantics is redeened in terms of proof trees using a cover relation. Proof trees give an intrinsic deenition to ...

متن کامل

Declarative Debugging of Missing Answers in Constraint Functional-Logic Programming

It is well known that constraint logic and functional-logic programming languages have many advantages, and there is a growing trend to develop and incorporate effective tools to this class of declarative languages. In particular, debugging tools are a practical need for diagnosing the causes of erroneous computations. Recently [1], we have presented a prototype tool for the declarative diagnos...

متن کامل

Declarative Debugging in Constraint Logic Programming: the Cover Relation

This work is motivated by the declarative insuuciency diagnosis of constraint logic programs, but focuses only, in this paper, on theoretical viewpoints. Many techniques have been developed for logic programming but cannot be merely adapted to constraint logic programming. An answer is not covered by a more general computed answer any more. Practical implementations use incomplete solvers with ...

متن کامل

A Framework for Assertion-Based Debugging in Constraint Logic Programming

A b s t r a c t . We propose a general framework for assertion-based debugging of constraint logic programs. Assertions are linguistic constructions which allow expressing properties of programs. We define assertion schemas which allow writing (partial) specifications for constraint logic programs using quite general properties, including user-defined programs. The framework is aimed at detecti...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Lecture Notes in Computer Science

سال: 2023

ISSN: ['1611-3349', '0302-9743']

DOI: https://doi.org/10.1007/978-3-031-31476-6_15